package me.ilvc.taotao.service;

import java.util.List;
import me.ilvc.base.service.BaseService;
import me.ilvc.taotao.model.TbItem;
import me.ilvc.taotao.result.EasyUIResult;
import org.springframework.stereotype.Repository;

@Repository
public interface ItemService extends BaseService {
    int deleteByPrimaryKey(Long id);

    int insert(TbItem record);

    int insertSelective(TbItem record);

    TbItem selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TbItem record);

    int updateByPrimaryKey(TbItem record);

    EasyUIResult getItemList(Integer page, Integer rows);
    int saveItem(TbItem item, String desc, String itemParams);
}